package com.zhentao.controller;

import com.zhentao.model.common.dtos.ResponseResult;
import com.zhentao.service.ApActiveService;
import io.swagger.annotations.Api;
import io.swagger.annotations.ApiOperation;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

@RestController
@RequestMapping("/app/active")
@Api(tags = "app端：活动接口")
public class ApActiveController {
    @Autowired
    private ApActiveService apActiveService;

    @PostMapping("/activeFindAll")
    @ApiOperation("活动列表查询")
    public ResponseResult activeFindAll(){
        return apActiveService.activeFindAll();
    }

}
